<!-- date settings and block templates -->
<%= partial('form_template_date_years',
  'form/templates/blocks/date_years.hbs',
  '_settings_date_years'
) %>
<%= partial('form_template_date_months',
  'form/templates/blocks/date_months.hbs',
  '_settings_date_months'
) %>
<%= partial('form_template_date_days',
  'form/templates/blocks/date_days.hbs',
  '_settings_date_days'
) %>
<%= partial('form_template_date', 'form/templates/blocks/date.hbs') %>

<!-- field settings -->
<%= partial('form_template_field_settings', 'form/templates/settings/field.hbs') %>

<%= partial('field_settings_label',
  'form/templates/settings/label.hbs',
  '_settings_label'
) %>
<%= partial('field_settings_label_within',
  'form/templates/settings/label_within.hbs',
  '_settings_label_within'
) %>
<%= partial('field_settings_required',
  'form/templates/settings/required.hbs',
  '_settings_required'
) %>
<%= partial('field_settings_validate',
  'form/templates/settings/validate.hbs',
  '_settings_validate'
) %>
<%= partial('field_settings_values',
  'form/templates/settings/values.hbs',
  '_settings_values'
) %>
<%= partial('field_settings_date_default',
  'form/templates/settings/date_default.hbs',
  '_settings_date_default'
) %>
<%= partial('field_settings_submit',
  'form/templates/settings/submit.hbs',
  '_settings_submit'
) %>

<%= partial('field_settings_values_item',
'form/templates/settings/values_item.hbs') %>
<%= partial(
  'field_settings_date_format',
  'form/templates/settings/date_formats.hbs',
  '_settings_date_format'
) %>
<%= partial(
  'field_settings_date_type',
  'form/templates/settings/date_types.hbs',
  '_settings_date_type'
) %>
<%= partial('field_settings_segment_selection_item',
  'form/templates/settings/segment_selection_item.hbs'
) %>
<%= partial('field_settings_segment_selection',
  'form/templates/settings/segment_selection.hbs',
  '_settings_segment_selection'
) %>

<!-- custom field: new -->
<%= partial('form_template_field_form',
  'form/templates/settings/field_form.hbs'
) %>

<!-- field settings depending on field type -->
<script id="form_template_field_text" type="text/x-handlebars-template">
  {{> _settings_required }}
  {{> _settings_validate }}
</script>

<script id="form_template_field_textarea" type="text/x-handlebars-template">
  {{> _settings_required }}
  {{> _settings_validate }}
</script>

<script id="form_template_field_radio" type="text/x-handlebars-template">
  {{> _settings_values }}
  {{> _settings_required }}
</script>

<script id="form_template_field_checkbox" type="text/x-handlebars-template">
  {{> _settings_values }}
  {{> _settings_required }}
</script>

<script id="form_template_field_select" type="text/x-handlebars-template">
  {{> _settings_values }}
  {{> _settings_required }}
</script>

<script id="form_template_field_date" type="text/x-handlebars-template">
  {{> _settings_required }}
  {{> _settings_date_type }}
</script>